﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChiTietHoaDonNhapAdd.aspx.cs" Inherits="WebApplication.Admin.ChiTietHoaDonNhapAdd" MasterPageFile="~/Admin/Web.Master" %>
<asp:Content ContentPlaceHolderID="Header" runat="server">
    <script language="javascript" type="text/javascript">
// <![CDATA[


// ]]>
    </script>
</asp:Content>
<asp:Content ContentPlaceHolderID="maint" runat="server">
    <div style="float:right">
<asp:LinkButton runat="server" ID="lbtnthemmoi" CssClass="btn btn-info" onclick="lbtnthemmoi_Click" 
              >Thêm mới</asp:LinkButton>
</div>

<fieldset>
  <legend>
     Chi tiết hóa đơn nhập
  </legend>
  <table>
  <tr>
   <td>
    Chọn nhóm hàng
   </td>
   <td>
   <asp:DropDownList ID="dlnhomhang" runat="server" AutoPostBack="True" 
           onselectedindexchanged="dlnhomhang_SelectedIndexChanged"></asp:DropDownList>
   </td>
  </tr>
  <tr>
   <td>
    Mã hóa đơn
   </td>
   <td>
    <input type="text" runat="server" id="txtmahd" />
   </td>
  </tr>
  <tr>
   <td>
    Mặt hàng
   </td>
   <td>
    <asp:DropDownList ID="Dlmathang" runat="server"></asp:DropDownList>
   </td>
  </tr>
 <tr>
   <td>
    Số lượng nhập
   </td>
   <td>
    <input type="text" runat="server" id="txtsoluong" />
   </td>
  </tr>
 
<tr>
   <td>
    Đơn giá
   </td>
   <td>
    <input type="text" runat="server" id="txtdongia" onclick="return txtdongia_onclick()" />
   </td>
  </tr>
  <tr>
   <td>
    Phần %
   </td>
   <td>
    <input type="text" runat="server" id="txtpt" />
   </td>
  </tr>
   <tr>
   <td>
    Tình trạng
   </td>
   <td>
    Đã thanh toán <input type="radio" runat="server" id="rddtt" name="rd" />
    Chưa thanh toán <input type="radio" runat="server" id="rdchuatt" name="rd" />
   </td>
  </tr>
    <tr>
   <td>
    Nhà cung cấp
   </td>
   <td>
    <asp:DropDownList ID="Dlnhacc" runat="server"></asp:DropDownList>
   </td>
  </tr>
 <tr>
   <td>
       <asp:HiddenField ID="hfslnhap" runat="server" />
       <asp:HiddenField ID="hfsldau" runat="server" />
       <asp:HiddenField ID="hfsolxuat" runat="server" />

    Nhân viên
   </td>
   <td>
    <asp:DropDownList ID="Dlnhanvien" runat="server"></asp:DropDownList>
   </td>
  </tr>
   <tr>
   <td>
   Ghi chú
   </td>
   <td>
   <textarea id="txtghichu" runat="server"></textarea>
   </td>
  </tr>
  <tr>
   <td colspan="2" align="center">
       <asp:LinkButton runat="server" ID="lbtncapnhap" CssClass="btn btn-info" 
               onclick="lbtncapnhap_Click">Cập nhập</asp:LinkButton>
   </td>
  </tr>
  </table>
</fieldset>
</asp:Content>
